package pl.iachoo.ctl.tabory.dao.data.vo;

import java.util.Date;
import java.util.Set;

public class TripVO implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;
	private StationVO stationFrom;
	private StationVO stationTo;
	private Date dateFrom;
	private Date dateUntil;
	private CompositionVO composition;
	private double distanceKm;
	private Set<VagonVO> setVagons;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public StationVO getStationFrom() {
		return stationFrom;
	}

	public void setStationFrom(StationVO stationFrom) {
		this.stationFrom = stationFrom;
	}

	public StationVO getStationTo() {
		return stationTo;
	}

	public void setStationTo(StationVO stationTo) {
		this.stationTo = stationTo;
	}

	public Date getDateFrom() {
		return dateFrom;
	}

	public void setDateFrom(Date dateFrom) {
		this.dateFrom = dateFrom;
	}

	public Date getDateUntil() {
		return dateUntil;
	}

	public void setDateUntil(Date dateUntil) {
		this.dateUntil = dateUntil;
	}

	public CompositionVO getComposition() {
		return composition;
	}

	public void setComposition(CompositionVO composition) {
		this.composition = composition;
	}

	public double getDistanceKm() {
		return distanceKm;
	}

	public void setDistanceKm(double distanceKm) {
		this.distanceKm = distanceKm;
	}

	public Set<VagonVO> getSetVagons() {
		return setVagons;
	}

	public void setSetVagons(Set<VagonVO> setVagons) {
		this.setVagons = setVagons;
	}

	@Override
	public String toString() {
		return "TripVO [id=" + id + ", stationFrom=" + stationFrom
				+ ", stationTo=" + stationTo + ", dateFrom=" + dateFrom
				+ ", dateUntil=" + dateUntil + ", composition=" + composition
				+ ", distanceKm=" + distanceKm + ", setVagons=" + setVagons
				+ "]";
	}

}
